package com.java.onlineshop.service.impl;

import com.java.onlineshop.dao.ICategoryDao;
import com.java.onlineshop.impl.CategoryDaoImpl;
import com.java.onlineshop.pojo.Category;
import com.java.onlineshop.service.ICategoryService;

/**
 * @program: onlineshop
 * @description: ICategoryService的实现类
 * @author: ShuangChenYue
 * @create: 2021-06-05 14:19
 **/
public class CategoryServiceImpl implements ICategoryService
{
    ICategoryDao categoryDao = new CategoryDaoImpl();

    @Override
    public Category findById(int id)
    {
        return categoryDao.findById(id);
    }
}
